package com.blb.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Quality {

    private String id;

    private String producingArea;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 商品型号
     */
    private String productModel;

    /**
     * 数量
     */
    private String sum;

    private String payTime;

    private String production;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderTime;

    private String orderStatus;
}
